﻿#ifndef __FUNDINFO_H__
#define __FUNDINFO_H__
#include<QString>
#include<string>
#include<map>
struct HistoricalDetails//历史明细
{
	HistoricalDetails() = default;
	HistoricalDetails(/*QString date,*/ QString AverVal, QString CumuVal, QString probab, QString applyPurchase, QString redeem);
	HistoricalDetails(std::string AverVal, std::string CumuVal, std::string probab, std::string applyPurchase, std::string redeem);
	//QString date;//日期
	double AverVal = 0;//单位净值
	double CumuVal = 0;//累计净值
	double probab = 0;//增长率
	QString applyPurchase;//申购状态
	QString redeem;//赎回状态
};
struct FundInfo
{
	FundInfo() = default;
	FundInfo(QString code, QString name, QString type);
	FundInfo(std::string code, std::string name, std::string type);
	QString code;//基金代码
	QString name;//基金名字
	QString type;//基金类型
};

#endif // !__FUNDINFO_H__
